﻿using NetCore.Authorization.Users;
using NetCore.CustomAttributes;
using System.ComponentModel;

namespace NetCore.Entities.Projects
{
    /// <summary>
    /// 项目用户
    /// </summary>
    [Description("项目用户")]
    public class ProjectUser : BaseEntity
    {
        /// <summary>
        /// 项目 ProjectId
        /// </summary>
        [Description("项目")]
        public long? ProjectId { get; set; }
        /// <summary>
        /// 项目
        /// </summary>
        [NotSet, Description("项目")]
        public virtual Project Project { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        [Description("用户")]
        public long? UserId { get; set; }
        /// <summary>
        /// 用户
        /// </summary>
        [NotSet, Description("用户")]
        public virtual User User { get; set; }

    }
}
